package com.frogs.ucenter.dao.ibatis;

import com.frogs.framework.base.dao.ibatis.BaseDaoIbatis;
import com.frogs.ucenter.dao.MedicalHistoryDao;
import com.frogs.ucenter.entity.MedicalHistory;
import com.ibatis.sqlmap.client.SqlMapClient;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

@Repository("medicalHistoryDao")
public class MedicalHistoryDaoImpl extends BaseDaoIbatis<MedicalHistory> implements MedicalHistoryDao {

    public MedicalHistoryDaoImpl() {
        super();
        setNameSpace( "medical_history" );
    }

    @Required
    @Resource
    public void setSqlMapClientAutowired(SqlMapClient sqlMapClient) {
        super.setSqlMapClient( sqlMapClient );
    }
}